﻿using System.Web;
using System.Web.Optimization;

namespace LineOfBusiness
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/kendo/css").Include(
                      "~/Content/kendo/kendo.common.min.css",
                      "~/Content/kendo/kendo.blueopal.min.css"));

            bundles.Add(new StyleBundle("~/Content/default/css").Include(
                      "~/Content/default/login.css",
                      "~/Content/default/style.css"));


            bundles.Add(new StyleBundle("~/Content/login/modern/css").Include(
                      "~/Content/kendo/kendo.common.min.css",
                      "~/Content/kendo/kendo.metro.min.css",
                      "~/Content/default/login.css",
                      "~/Content/default/style.css"));

            bundles.Add(new ScriptBundle("~/scripts/login/js").Include(
                     "~/Scripts/jquery-1.10.2.min.js",
                     "~/Scripts/jquery.cookie.js",
                     "~/Scripts/kendo/kendo.web.min.js",
                     "~/Scripts/kendo/kendo.aspnetmvc.min.js",
                     "~/Scripts/kendo/cultures/kendo.culture.vi-VN.min.js",
                     "~/Scripts/site.js"));

            bundles.Add(new StyleBundle("~/Content/blueopal/css").Include(
                    "~/Content/kendo/kendo.common.min.css",
                    "~/Content/kendo/kendo.blueopal.min.css",
                    "~/Content/ContextMenu/contextmenu.css",
                    "~/Content/default/style.css"));

            bundles.Add(new StyleBundle("~/Content/metro/css").Include(
                      "~/Content/kendo/kendo.common.min.css",
                      "~/Content/kendo/kendo.metro.min.css",
                      "~/Content/dContextMenu/contextmenu.css",
                      "~/Content/default/modern.css"));

            bundles.Add(new ScriptBundle("~/scripts/js").Include(
                    "~/Scripts/jquery-1.10.2.min.js",
                    "~/Scripts/jquery.cookie.js",
                    "~/Scripts/kendo/kendo.web.min.js",
                    "~/Scripts/kendo/kendo.aspnetmvc.min.js",
                    "~/Scripts/kendo/cultures/kendo.culture.vi-VN.min.js",
                    "~/Scripts/site.js",
                    "~/Scripts/WindowPopup.js",
                    "~/Scripts/CodeBaseGrid.js",
                    "~/Scripts/CodeBasePopup.js",
                    "~/Scripts/WindowPopup.js",
                    "~/Scripts/ContextMenu/jquery.contextmenu.js",
                    "~/Scripts/ContextMenu/jquery.hasEventListener-2.0.4.min.js"));

        }
    }
}
